<?php
require_once($config_rootdir."/php/util/dbconnection.php");

function findHeroByUserId($userId) {
	$query = "select * from hero where userId = " . $userId;
	$result = mysql_query($query);
	return mysql_fetch_assoc($result);
}
